imag — Imaginary Part
imag
returns the imaginary part of the argument. If the argument is a matrix, then the operation is performed element-by-element, returning a matrix.
Subsections
Example